package com.want.repository;

import com.want.entity.CommentPoll;
import org.springframework.data.repository.reactive.ReactiveSortingRepository;
import org.springframework.stereotype.Repository;
import reactor.core.publisher.Mono;

/**
 * @author WangZhiJian
 * @since 2021/11/21
 */
@Repository
public interface CommentPollRepository extends ReactiveSortingRepository<CommentPoll, Integer> {
    Mono<CommentPoll> findByUserIdCAndCommentId(Integer userId,Integer commentId);
}
